package com.service;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.SqlSession;




import com.dao.LogDao;
import com.pojo.Users;
import com.util.MybatisSessionFactory;




//记录 登陆 查看  浏览    上传文件的记录
public class logService {
	SqlSession Session = MybatisSessionFactory.getSqlSession();
	LogDao dao1 = Session.getMapper(LogDao.class);
	
	
	public void add2(@Param("users_id") String users_id,
			@Param("operation") String operation
		
			) {
		dao1.add2(users_id, operation);
		Session.commit();
	}

}
